package cn.mengfly.fxtest.app.mvvm;

/**
 * @author Mengfly
 */
public class EmploymentRequestConverter {


    public EmploymentRequest toEmploymentRequest(EmploymentRequestViewModel viewModel) {
        return new EmploymentRequest(viewModel.getName(), viewModel.getPosition(), viewModel.getAnnualSalary());
    }
}
